<!--
 * @Author: ljc
 * @Date: 2024-08-06 13:48:01
 * @LastEditors: g05047
 * @LastEditTime: 2024-11-25 15:53:17
 * @Description: 区划和单位展开所有节点
-->
<template>
  <el-form-item v-if="treeType==='ad'"
    :label="i18nt('designer.setting.adDefaultExpandAll')">
    <el-switch v-model="optionModel.adConfig.adDefaultExpandAll"></el-switch>
  </el-form-item>
  <el-form-item :label="i18nt('designer.setting.agDefaultExpandAll')">
    <el-switch v-model="optionModel.agConfig.agDefaultExpandAll"></el-switch>
  </el-form-item>
</template>
<script>
import i18n from "@/utils/i18n"
export default {
  name: "treeDefaultExpandAll-editor",
  mixins: [i18n],
  props: {
    designer: Object,
    selectedWidget: Object,
    optionModel: Object,
    treeType: String,
  },
}
</script>
<style scoped>
</style>
